package com.yunsc.order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.common.validator.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 订单退货DTO
 * @date: 2024-03-02 3:24
 */
@Data
public class OrderRefundDTO {
    @JsonProperty("orderRefundId")
    @NotNull(message = "订单售后ID不能为空", groups = ValidationGroups.Update.class)
    private Integer orderRefundId;
    private OrderRefundForm form;

    @Data
    public static class OrderRefundForm {
        private Integer auditStatus; // 审核状态
        private String refuseDesc;   // 拒绝原因
        private Integer addressId;  // 退货地址ID
        private Integer expressId;  // 快递公司ID
        private String expressNo;  // 快递单号

    }
}
